<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>window的使用</title>
		<script type="text/javascript" src="../js/jquery-1.8.3.js" ></script>
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js" ></script>
		<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js" ></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
		<!-- 引入ztree -->
		<script src="../js/ztree/jquery.ztree.all-3.5.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="../js/ztree/zTreeStyle.css"/>
	    <script type="text/javascript">
			$(function(){		
			$('#gaid').datagrid({
				columns:[[ 

                      {field:'id',title:'商品ID',width:100}, 

                      {field:'name',title:'商品名称',width:100}, 

                      {field:'price',title:'商品价格',width:100} 
]],
			url:'2.json',
			});
})	
	</script>
	</head>

	<body>
		<table id="gaid"></table>
		
	</body>
</html>
